<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>添加新闻</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
	<SCRIPT type="text/javascript" src="/myapp/Public/ueditor143/ueditor.config.js"></SCRIPT>
	<SCRIPT type="text/javascript" src="/myapp/Public/ueditor143/ueditor.all.min.js"></SCRIPT>
    <link rel="shortcut icon" href="assets/ico/favicon.html">
    <link href="/myapp/Public/assets/css/bootstrap.css" rel="stylesheet">
    <link href="/myapp/Public/assets/css/theme.css" rel="stylesheet">
    <link href="/myapp/Public/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="/myapp/Public/assets/css/alertify.css" rel="stylesheet">
    <link href="/myapp/Public/bootstrap/bootstrap-wizard.css" rel="stylesheet" />

    <link rel="Favicon Icon" href="/myapp/Public/favicon.ico">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="/myapp/Public/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
           
            <ul class="pull-right">  
              <li><a href="login.html"><i class="icon-off"></i> 注销</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->
        

      	<!-- Main window -->
    <div class="main_container" id="tables_page">
			<div class="row-fluid">
				<br>
				<h2 class="heading">
					<i class="icon-edit"></i>添加新闻     
				</h2>
			</div>
  <div class="widget-body clearfix" style="padding:25px;">



              <form method="post" action="addNewsInfo" enctype="multipart/form-data">
							<div class="control-group ">
								<label for="form_name">标题：</label>
								<div class="controls"><input class="btn-block" type="text" name="title" id="form_name" required></div>
							</div>
                          						 
                        <div class="form-group">
					    <script id="intro" name="content" type="text/plain">请输入内容</script>       
					<script type="text/javascript">
						UE.getEditor('intro', {
						theme:"default", //皮肤
						lang:"zh-cn", //语言
						initialFrameWidth:800,  //初始化编辑器宽度,默认800
						initialFrameHeight:320,
						toolbars: [
    [
		'source',
        'undo', //撤销
        'redo', //重做
        'bold', //加粗
        'italic', //斜体
        'underline', //下划线
        'selectall', //全选
        'preview', //预览
        'horizontal', //分隔线
        'cleardoc', //清空文档
         'fontfamily', //字体
        'fontsize', //字号
        'paragraph', //段落格式
        'simpleupload', //单图上传
        'insertimage', //多图上传
         'link', //超链接
        'emotion', //表情
        'justifyleft', //居左对齐
        'justifyright', //居右对齐
        'justifycenter', //居中对齐
        'justifyjustify', //两端对齐
        'forecolor', //字体颜色
        'backcolor', //背景色
        'insertorderedlist', //有序列表
        'insertunorderedlist', //无序列表
        'fullscreen', //全屏
        'imagenone', //默认
        'imageleft', //左浮动
        'imageright', //右浮动
        'imagecenter', //居中
        'lineheight', //行间距

    ]
]
					});
					</script>

					</div>

      		<div class="form-group">
							<button type="submit" class="btn btn-large btn-success btn-block">Add News</button></div>
						</form>
					</div>  

</div>
</div>

		<!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/myapp/Public/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/myapp/Public/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/myapp/Public/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/myapp/Public/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/myapp/Public/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/myapp/Public/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/myapp/Public/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/myapp/Public/assets/js/realm.js"></script>
    <script type="text/javascript"src="/myapp/Public/bootstrap/bootstrap-wizard.min.js"></script>
  </body>
</html>